package com.ruoyi.warning.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenhc
 * @since 2025-03-25
 */
@Data
@TableName("bills")
@ApiModel("账单")
public class Bill implements Serializable {

    @TableId(value = "bill_id", type = IdType.AUTO)
    @ApiModelProperty("账单的唯一标识ID")
    private Integer billId;

    @ApiModelProperty("账单的名称")
    private String billName;

    @ApiModelProperty("账单的类型")
    private String billType;

    @ApiModelProperty("账单的CDR值")
    private Long billCdr;

    @ApiModelProperty("账单对应的日期")
    private Integer billDay;

    @ApiModelProperty("账单的配额")
    private Long billQuota;

    @ApiModelProperty("95th入方向速率")
    private Long rate95thIn;

    @ApiModelProperty("95th出方向速率")
    private Long rate95thOut;

    @ApiModelProperty("95th综合速率")
    private Long rate95th;

    @ApiModelProperty("95th方向描述")
    private String dir95th;

    @ApiModelProperty("总数据量")
    private Long totalData;

    @ApiModelProperty("入方向总数据量")
    private Long totalDataIn;

    @ApiModelProperty("出方向总数据量")
    private Long totalDataOut;

    @ApiModelProperty("入方向平均速率")
    private Long rateAverageIn;

    @ApiModelProperty("出方向平均速率")
    private Long rateAverageOut;

    @ApiModelProperty("综合平均速率")
    private Long rateAverage;

    @ApiModelProperty("账单最后计算时间")
    private LocalDateTime billLastCalc;

    @ApiModelProperty("账单对应的客户ID")
    private String billCustid;

    @ApiModelProperty("账单的参考信息")
    private String billRef;

    @ApiModelProperty("账单的备注信息")
    private String billNotes;

    @ApiModelProperty("账单是否自动添加的标识")
    private Boolean billAutoadded;
}
